<template>
  <div>
    <Chart :cdata="cdata" />
  </div>
</template>

<script>
import Chart from './chart.vue';
export default {
  data () {
    return {
      cdata: {
        indicatorData: [
          { name: "勤务完成率", max: 100 },
          { name: "响应时间", max: 100 },
          { name: "群众满意度", max: 100 },
          { name: "事故处理率", max: 100 },
          { name: "巡逻覆盖率", max: 100 },
          { name: "设备完好率", max: 100 }
        ],
        dataBJ: [
          [92, 85, 88, 95, 90, 93],
          [94, 88, 90, 93, 92, 95],
          [89, 82, 85, 91, 88, 90],
          [91, 84, 87, 94, 89, 92],
          [93, 86, 89, 92, 91, 94],
          [90, 83, 86, 93, 87, 91],
          [92, 85, 88, 95, 90, 93]
        ],
        dataGZ: [
          [88, 80, 85, 90, 85, 88],
          [90, 82, 87, 92, 87, 90],
          [85, 78, 82, 88, 83, 86],
          [87, 79, 84, 91, 84, 87],
          [89, 81, 86, 93, 86, 89],
          [86, 78, 83, 89, 82, 85],
          [88, 80, 85, 90, 85, 88]
        ],
        dataSH: [
          [90, 83, 87, 92, 88, 91],
          [92, 85, 89, 94, 90, 93],
          [87, 80, 84, 90, 85, 88],
          [89, 82, 86, 93, 87, 90],
          [91, 84, 88, 95, 89, 92],
          [88, 81, 85, 91, 86, 89],
          [90, 83, 87, 92, 88, 91]
        ]
      }
    }
  },
  components: {
    Chart,
  }
}
</script>